// Main.java
package pack1;

public class Main {
    public static void main(String[] args) {
        // 创建学生对象
        Student student = new Student("2023001", "张三", "男", 20);

        // 使用toString方法输出学生信息
        System.out.println(student.toString());
    }
}
